package com.hnkywl.sts.dialect;

import org.hibernate.Hibernate;
import org.hibernate.dialect.Oracle10gDialect;

import java.sql.Types;

/**
 * Created with IntelliJ IDEA.
 * User: ZHUCHG
 * Date: 13-5-10
 * Time: 下午3:30
 * To change this template use File | Settings | File Templates.
 */
@SuppressWarnings("deprecation")
public class PlusOracle10gDialect extends Oracle10gDialect {
    public PlusOracle10gDialect() {
        super();
        registerHibernateType(Types.DECIMAL, Hibernate.BIG_INTEGER.getName());
        registerHibernateType(Types.CHAR, Hibernate.STRING.getName());
        registerHibernateType(Types.NVARCHAR, Hibernate.STRING.getName());
        registerHibernateType(Types.LONGNVARCHAR, Hibernate.STRING.getName());

    }
}
